package com.sc.highspeed.controller.result;

import lombok.Data;

/**
 * Created by Admin on 2017/11/30.
 */
public class JsonResult {
    private int code;
    private boolean status;
    private String msg;
    private Object object;

    public int getCode() {
        return code;
    }

    public JsonResult setCode(int code) {
        this.code = code;
        return this;
    }

    public boolean getStatus() {
        return status;
    }

    public JsonResult setStatus(boolean status) {
        this.status = status;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public JsonResult setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public Object getObject() {
        return object;
    }

    public JsonResult setObject(Object object) {
        this.object = object;
        return this;
    }
}
